package com.xo.common.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Schema(description = "分页查询商品列表返回参数")
public class PageProductListVo {

    @Schema(description = "商品ID")
    private Integer id;

    @Schema(description = "商品名称")
    private String productName;

    @Schema(description = "商品图片")
    private String productPic;

    @Schema(description = "商品价格")
    private BigDecimal productPrice;

    @Schema(description = "品牌ID")
    private Integer brandId;

    private String brandName;

    @Schema(description = "分类ID")
    private Integer categoryId;

    @Schema(description = "分类名称")
    private String categoryName;

    @Schema(description = "上下架状态：0 下架，1 上架")
    private Integer shelfStatus;

    @Schema(description = "审核状态：0 待审核，1 审核通过，2 审核未通过")
    private Integer verifyStatus;

    @Schema(description = "排序，值越大越靠前")
    private Integer sortOrder = 0;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

}
